package com.xsh.service;

import com.github.pagehelper.PageInfo;
import com.xsh.pojo.Goods;

public interface GoodsService {

    void addGoods(Goods goods);

    Goods queryByGoodsId(int id);

    void updateGoods(Goods goods);

    void deleteGoods(int id);

    PageInfo<Goods> queryAll(Integer pageNum);
}
